package com.fengze.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fengze.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

public class HistoryProduct {


    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 创建部门id */
    private BigDecimal price;


    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    private String projectName;

    /** 项目早期信息id */
    private Long earlyStageProjectId;


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }





    public void setSupplier(String supplier)
    {
        this.supplier = supplier;
    }

    public String getSupplier()
    {
        return supplier;
    }

    public Long getEarlyStageProjectId() {
        return earlyStageProjectId;
    }

    public void setEarlyStageProjectId(Long earlyStageProjectId) {
        this.earlyStageProjectId = earlyStageProjectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("code", getCode())
                .append("createTime", getCreateTime())
                .append("supplier", getSupplier())
                .toString();
    }
}
